Re: [NTG-context] Is there a way to centrally add a list of indexed items to a sub category?

2023-05-15 Thread Henning Hraban Ramm via ntg-context
Index lookups \defineregister[Person][] \defineprocessor[italics][style=italicface] \define[1]\Passim{\emph{passim}} \defineprocessor[passim][command=\Passim] \define[1]\nPerson{% \expanded{\Person{\ctxlua{userdata.Lookup("#1")}}}% } \define[1]\TPerson{% \expanded{\Person[kursiv->

Re: [NTG-context] How do I define a smallcaps font?

2022-04-25 Thread Joel via ntg-context
Replacing \smallcaps with \sc fixed it. I had assumed they were synonyms---the same as \bf vs \boldface, \it vs \italicface, but it seems they are different entirely? Thanks! --Joel On Sunday, April 24, 2022, 11:19:10 AM MDT, Henning Hraban Ramm via ntg-context wrote: Am 24.04.22 um

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-20 Thread Wolfgang Schuster via ntg-context
s[state=repeat] \starttext \setlayer [testlayer] [x=1cm,y=1cm] {Text background} \dorecurse{4}{xxx\page} \stoptext \starttext text {\italicface text {\boldface text} text} text text {\it text {\bf text} text} text: here the third instance of text is in boldface, but not in italic bol

[NTG-context] interlinespacing in margin notes – solved

2022-03-10 Thread Henning Hraban Ramm via ntg-context
usemodule[ipsum] \showframe \setuplayout[ width=100mm, rightmargin=50mm, rightmargindistance=6mm, ] \setupbodyfontenvironment[11pt][ em=italicface, text=11pt, small=8pt, interlinespace=14pt, ] \definebodyfontenvironment[8pt][interlinespace=8pt] \setupbodyfont[rm,11pt] \define\PlaceFoot

Re: [NTG-context] Why isn't bold + italics working together?

2022-01-29 Thread Otared Kavian via ntg-context
> On 29 Jan 2022, at 18:03, Denis Maier via ntg-context > wrote: > > IDK, but then it's probably a font issue? > […] > This thread is outdated, you can now stack styles. > > \starttext > > text {\italicface text {\boldface text} text} text > > \stoptex

Re: [NTG-context] Why isn't bold + italics working together?

2022-01-29 Thread Denis Maier via ntg-context
can now stack styles. \starttext text {\italicface text {\boldface text} text} text \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.

Re: [NTG-context] Why isn't bold + italics working together?

2022-01-29 Thread Wolfgang Schuster via ntg-context
doesn't this have {\bi bold and italics} in it? \stopitemize See also: https://www.mail-archive.com/ntg-context@ntg.nl/msg4.html This thread is outdated, you can now stack styles. \starttext text {\italicface text {\boldface text} text} text \stoptext Wolfgang

Re: [NTG-context] Question on style-italic vs style=italicface

2021-10-24 Thread Wolfgang Schuster via ntg-context
Henning Hraban Ramm via ntg-context schrieb am 02.10.2021 um 11:46: Am 02.10.2021 um 10:34 schrieb Wolfgang Schuster via ntg-context : Rik Kabel via ntg-context schrieb am 27.09.2021 um 00:49: Wolfgang (off-list), It is simply wrong to say that \italicface as defined gives only \it or \bi

Re: [NTG-context] Question on style-italic vs style=italicface

2021-10-02 Thread Henning Hraban Ramm via ntg-context
> Am 02.10.2021 um 10:34 schrieb Wolfgang Schuster via ntg-context > : > > Rik Kabel via ntg-context schrieb am 27.09.2021 um 00:49: >> >> Wolfgang (off-list), >> >> It is simply wrong to say that \italicface as defined gives only \it or \bi &g

Re: [NTG-context] Question on style-italic vs style=italicface

2021-10-02 Thread Wolfgang Schuster via ntg-context
Rik Kabel via ntg-context schrieb am 27.09.2021 um 00:49: Wolfgang (off-list), It is simply wrong to say that \italicface as defined gives only \it or \bi as a result. Look at the definition. If the current fontalternative is it \it it will give a \tf result. It is sensitive to the current

Re: [NTG-context] Question on style-italic vs style=italicface

2021-09-26 Thread Rik Kabel via ntg-context
Wolfgang (off-list), It is simply wrong to say that \italicface as defined gives only \it or \bi as a result. Look at the definition. If the current fontalternative is it \it it will give a \tf result. It is sensitive to the current state in a similar way that \em and \emph

Re: [NTG-context] Question on style-italic vs style=italicface

2021-09-26 Thread Wolfgang Schuster via ntg-context
Rik Kabel via ntg-context schrieb am 27.09.2021 um 00:20: On 9/26/2021 16:29, Wolfgang Schuster via ntg-context wrote: Rik Kabel via ntg-context schrieb am 26.09.2021 um 22:13: Hello list mavens, What are the circumstances under which style=italicface should be used instead of style=italic

Re: [NTG-context] Question on style-italic vs style=italicface

2021-09-26 Thread Rik Kabel via ntg-context
On 9/26/2021 16:29, Wolfgang Schuster via ntg-context wrote: Rik Kabel via ntg-context schrieb am 26.09.2021 um 22:13: Hello list mavens, What are the circumstances under which style=italicface should be used instead of style=italic. I note a difference when I define highlighting. I

Re: [NTG-context] Question on style-italic vs style=italicface

2021-09-26 Thread Wolfgang Schuster via ntg-context
Rik Kabel via ntg-context schrieb am 26.09.2021 um 22:13: Hello list mavens, What are the circumstances under which style=italicface should be used instead of style=italic. I note a difference when I define highlighting. I expected to see no difference in the line before and line after

[NTG-context] Question on style-italic vs style=italicface

2021-09-26 Thread Rik Kabel via ntg-context
Hello list mavens, What are the circumstances under which style=italicface should be used instead of style=italic. I note a difference when I define highlighting. I expected to see no difference in the line before and line after the hairline the example below, but see that italicface adapts

[NTG-context] Additional font variants

2021-08-01 Thread Henning Hraban Ramm via ntg-context
ss] [sans] [modern] [default] \definetypeface [ka] [tt] [mono] [modern] [default] \definetypeface [ka] [mm] [math] [modern] [default] \definetypeface [ka] [hw] [handwriting] [comicsans] [default] \stoptypescript \setupbodyfont[ka,rm,18pt] \setupbodyfontenvironment[default][em=italicface] \de

[NTG-context] index issues

2020-10-14 Thread Henning Hraban Ramm
suppose you’ll remember; I left out the Lua table lookup for unified entries): \defineprocessor[kursiv][style=italicface] \define[1]\nIndex{\doifmodeelse{*footnote}{% \expanded{\index[kursiv->]{#1}}}% }{% \expanded{\index{#1}}}% }} (2) Can I avoid linebreaking of page ranges in \placein

Re: [NTG-context] check if inside footnote

2020-08-04 Thread Hans Hagen
footnotes), and I could avoid manually analyzing the structure if my macro could determine on its own if it’s called from a footnote. Not-working example: \setupinteraction[state=start] \defineprocessor[kursiv][style=italicface] \define[1]\Idx{\doifmodeelse{*footnote}{\index{#1}}{\index[kursiv

Re: [NTG-context] check if inside footnote

2020-08-04 Thread Henning Hraban Ramm
>> footnotes, or footnotes within footnotes), and I could avoid manually >> analyzing the structure if my macro could determine on its own if it’s >> called from a footnote. >> Not-working example: >> \setupinteraction[state=start] >> \defineprocessor[k

Re: [NTG-context] check if inside footnote

2020-08-04 Thread Hans Hagen
own if it’s called from a footnote. Not-working example: \setupinteraction[state=start] \defineprocessor[kursiv][style=italicface] \define[1]\Idx{\doifmodeelse{*footnote}{\index{#1}}{\index[kursiv->]{kursiv->#1}}#1} \starttext Text --- \index[C]{A}{B}\footnote{Inside\index{FN}}\in

[NTG-context] check if inside footnote

2020-08-04 Thread Henning Hraban Ramm
example: \setupinteraction[state=start] \defineprocessor[kursiv][style=italicface] \define[1]\Idx{\doifmodeelse{*footnote}{\index{#1}}{\index[kursiv->]{kursiv->#1}}#1} \starttext Text --- \index[C]{A}{B}\footnote{Inside\index{FN}}\index{BF} --- \placeregister[index][criterium=all] \st

Re: [NTG-context] consistent index entries

2020-08-01 Thread Wolfgang Schuster
ded\ctxlua). \expanded needs a argument, i.e. \expanded{...} Now, \def\TOrt#1{\expanded{\Ort{\ctxlua{userdata.Lookup("#1")}}}#1} % Loc + Text \defineprocessor[kursiv][style=italicface] \def\TFOrt#1{\expanded{\Ort[kursiv->]{\ctxlua{userdata.Lookup("#1")}}}#1} % Loc in Foot

Re: [NTG-context] consistent index entries

2020-08-01 Thread Henning Hraban Ramm
\def\TOrt#1{\expanded{\Ort{\ctxlua{userdata.Lookup("#1")}}}#1} % Loc + Text \defineprocessor[kursiv][style=italicface] \def\TFOrt#1{\expanded{\Ort[kursiv->]{\ctxlua{userdata.Lookup("#1")}}}#1} % Loc in Footnote + Text works. :) (I always define \TIndex to avoid doubling,

Re: [NTG-context] context sensitive highlight styles

2017-08-17 Thread Wolfgang Schuster
n body text and ToC? (Body text is not a problem.) MNWE: \setuphead[chapter][page=yes,style={\ss\bfc}] \setuphead[section][page=no,style={\ss\bfa}] \definehighlight[emph][style=\it] \definestyle[emph][style=\italicface] Wo

Re: [NTG-context] overrule italics

2017-06-04 Thread Hans Hagen
\normalslantedface == \slantedface \normalitalicface == \italicface \swaptypeface == \swapface \stoptyping \stoptext - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061